    <div class="form-group">
        <label class="col-sm-2 control-label">门店名</label>
        <div class="col-sm-6">
            <input type="text" class="form-control" name="{{ form_name }}[name]" required="required" value="{{ entity.name }}">
        </div>
    </div>

    <div class="form-group">
        <label class="col-sm-2 control-label">所在城市</label>
        <div class="col-sm-2">
            <select id='city_list' class="form-control search-select"
                    name="{{ form_name }}[city]" data-rel="tooltip">
            </select>
        </div>

        <label class="col-sm-1 control-label">地区</label>
        <div class="col-sm-2">
            <select id='district_list' class="form-control search-select"
                    name="{{ form_name }}[district]" data-rel="tooltip">
            </select>
        </div>

        <label class="col-sm-1 control-label">商圈</label>
        <div class="col-sm-3">
            <select id='zone_list' class="form-control search-select"
                    name="{{ form_name }}[shopZone]" data-rel="tooltip">
            </select>
        </div>
    </div>

    <div class="form-group">
        <label class="col-sm-2 control-label">所属品牌</label>
        <div class="col-sm-8">

            <select class="form-control search-select" name="{{ form_name }}[brandId]" data-rel="tooltip">
                {% if not entity.id > 0 %}
                <option value="0">--请选择品牌--</option>
                {% endif %}

                {% for brand in brandList %}
                    <option value="{{ brand.id }}"
                        {% if entity.brandId == brand.id %}
                            selected="selected"
                        {% endif %}
                            >{{ brand.name }}</option>
                {% endfor %}
            </select>

        </div>
    </div>

    <div class="form-group">
        <label class="col-sm-2 control-label">详细地址</label>
        <div class="col-sm-10">
            <textarea class="form-control" placeholder="最多输入100字符" rows="4" cols="20" name="{{ form_name }}[address]">{{ entity.address }}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-2 control-label">商家电话</label>
        <div class="col-sm-6">
            <input type="text" class="form-control" name="{{ form_name }}[contact]" required="required" value="{{ entity.contact }}">
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-2 control-label">审核状态</label>
        <div class="col-md-6">
            <select class="col-md-3" name="{{ form_name }}[isAudit]">
                <option value="0"
                        {% if entity.isAudit == 0 %}
                        selected="selected"
                        {% endif %}
                        >未通过</option>

                <option value="1"
                        {% if entity.isAudit == 1 %}
                            selected="selected"
                        {% endif %}
                        >已通过</option>
            </select>
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-2 control-label">营业时间</label>
        <div class="col-sm-6">
            <input type="text" class="form-control daterange" name="{{ form_name }}[workTime]" required="required" value="{{ entity.workTime }}">
        </div>
    </div>

    <div class="form-group">
        <label class="col-sm-2 control-label">排序权重</label>
        <div class="col-sm-2">
            <input type="number" class="form-control" name="{{ form_name }}[orderWeight]" required="required" value="{{ entity.orderWeight | default(0)}}">
        </div>
    </div>


    <div class="form-group">
        <label class="col-sm-2 control-label">地图位置</label>

        <label class="col-sm-1 control-label">经度</label>
        <div class="col-sm-3">
            <input type="text" class="form-control" name="{{ form_name }}[latitude]" value="{{ entity.latitude }}">
        </div>

        <label class="col-sm-1 control-label">纬度</label>
        <div class="col-sm-3">
            <input type="text" class="form-control" name="{{ form_name }}[longitude]" value="{{ entity.longitude}}">
        </div>
    </div>

    <div class="form-group">
        <label class="col-sm-2 control-label">封面图片</label>
        <div class="col-sm-10">
            {% if has_upload is not defined %}
                {#显示图片缩略图 和 上传按钮#}
                <div class="img-container">
                    <img src="/{{ entity.picture }}" width="100px" height="100px">
                </div>
            {% endif %}

            <input type="file" class="form-control" id="shop_picture" name="{{ form_name }}[picture]"
            {% if entity.picture %}>
            {% else %}
            required="required">
            {% endif %}
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-2 control-label">商家简介</label>
        <div class="col-sm-10">
            <div id="ueditor" >
            </div>

            <textarea style="display: none;" id="shop_intro"
                      class="form-control" name="{{ form_name }}[intro]">{{ entity.intro }}</textarea>

        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-2 control-label">门店评分</label>
        <div class="col-sm-10">
            <input type="text" class="form-control" name="{{ form_name }}[star]" value="{{ entity.star | default(0) }}">
        </div>
    </div>